{% extends "base.html" %}

<!-- ======================================================================= -->
<!-- page specific head (scripts, CSS, etc.) ================================--> 
<!-- ======================================================================= -->
{% block BaseHead %}

<!-- ======================================================================= -->
<!-- page specific names ====================================================-->
<!-- ======================================================================= -->
<script type="text/javascript">
    GW.features = {% if features %} {{features}} {% else %} [] {% endif %};     // features on this map

    GW.page = {% if page %} {{page}} {% else %} []{% endif %};                  // set page
    GW.pages = [];                                                              // page cache for the map
    GW.mapFeatureToFeature = [];                                                // list of map meatures indexed by the point, line, or shape
</script>

<!-- ======================================================================= -->
<!-- page JS ================================================================-->
<!-- ======================================================================= -->
<script type="text/javascript" src="/static/js/map.js" > </script>

<!-- ======================================================================= -->
<!-- page specific head (scripts, CSS, etc. =================================--> 
<!-- ======================================================================= -->
{% endblock %}

{% block BaseBody %}

<!-- ======================================================================= -->
<!-- Feature Page Display Panel ============================================ -->
<!-- ======================================================================= -->
<div id="idFeaturePageDisplayPanel" style="visibility:hidden" >
    <div id="idFeaturePageDisplayPanelHD" class="hd">
        <a class="pdpMenu" href="#" onClick="GW.displayFeaturePage.showContent(); return false;">Content</a>&nbsp;&nbsp;
        <a class="pdpMenu" href="#" onClick="GW.displayFeaturePage.showProperties(); return false;">Properties</a>&nbsp;&nbsp;
        <a class="pdpMenu" href="#" onClick="GW.displayFeaturePage.page(); return false;">View Page</a>&nbsp;&nbsp;
        <a class="pdpMenu" href="#" onClick="GW.displayFeaturePage.edit(); return false;">Edit Page</a>&nbsp;&nbsp;
        <a class="pdpMenu" href="#" onClick="GW.displayFeaturePage.hide(); return false;">Exit</a>&nbsp;&nbsp;
    </div>
    <div id="idFeaturePageDisplayPanelBD" class="bd" style="overflow: auto;" ><!-- content goes here --> </div>
</div>

<!-- =================================================================== -->
<!-- View divs ========================================================= -->
<!-- =================================================================== -->
<div id="idMapDiv" class="fullscreen" ><!-- map goes here --></div>

{% endblock %}

